// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CompletedTestActivity.cs" company="JDML Consulting Ltd.">
//   Copyright 2011 Photon Project - http://photon.codeplex.com
// </copyright>
// <summary>
//   Defines the CompletedTestActivity type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Photon.Testing.Threading
{
    public sealed class CompletedTestActivity : AsynchronousTestActivity
    {
        public static readonly CompletedTestActivity Instance = new CompletedTestActivity();

        private CompletedTestActivity()
        {
            SetCompleted();
        }

        public override void Execute()
        {
        }

        public override void Reset()
        {
            // do not reset, stay completed
        }
    }
}